﻿using Common.Data.Extensions;
using ModernChannel.Configuration;
using ModernChannel.Model.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ModernChannel.Data.DBConfig
{
    public class BilltoInfConfiguration : DBConfig<BilltoInf>
    {
        public BilltoInfConfiguration()
            : base(SystemConfiguration.Schema, SystemConfiguration.NamingType, SystemConfiguration.TABLE_PREFIX)
        {
            HasKey(x => x.BilltoCode);
            Property(c => c.BilltoCode).HasMaxLength(50).IsRequired();
        }
    }
}
